package com.gdones.gpt.bus.modetemplate.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-06-02
 */
@Getter
@Setter
@TableName("t_gpt_template_info")
@ApiModel(value = "GptTemplateInfo对象", description = "")
public class GptTemplateInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("模板详情id")
    @TableId(value = "infoID", type = IdType.ASSIGN_UUID)
    private String infoID;

    @ApiModelProperty("插入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

    @ApiModelProperty("插入id")
    private String insertID;

    @ApiModelProperty("插入ip")
    private String insertIP;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("修改id")
    private String updateID;

    @ApiModelProperty("修改ip")
    private String updateIP;

    @ApiModelProperty("是否删除：0 否 1 是")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("数据权限id")
    private String permissionID;

    @ApiModelProperty("操作者本机macID")
    private String localID;

    @ApiModelProperty("模型id")
    private String modelsID;

    @ApiModelProperty("模型名称")
    private String modelsName;

    @ApiModelProperty("模型授权使用类型code  1. 不限量 2 每日限量 3.未开通 4.即将开放")
    private String modeGrantUseTypeCode;

    @ApiModelProperty("模型授权使用类型name")
    private String modeGrantUseTypeName;

    @ApiModelProperty("是否有日上限")
    private String isHaveDayLimit;

    @ApiModelProperty("每日默认上限 -1 代表无上限  ")
    private Integer dayLimitCount;

    @ApiModelProperty("模板id")
    private String templateID;

    @ApiModelProperty("排序号")
    private Integer mindex;

}
